package dianmobile.eistarandroid.utils;

public class ConstantsData {

    public static final String EMPTY_STR = "";

    /*-----------------------------------------------------------------------------
     *------------      Constants Data For UI       -------------------------------
     *----------------------------------------------------------------------------*/
    ///     LoginActivity
    public static final String DB_UI = "DB_UI";
    //游客登录名
    public static final String GUEST_USER = "guest";

    ///     订阅 版面
    public static final int ENUM_TOP10_LIST_VIEW = 0x01;
    public static final int ENUM_RECOMMENDATION_LIST_VIEW = 0x02;

    /*-----------------------------------------------------------------------------
     *----------        Persistence Data           --------------------------------
     *-----------------------------------------------------------------------------*/
    public static final String DB_PER = "DB_PER";

    public static final String K_BOOL_SAVED_LOGIN_DATA = "K_BOOL_SAVED_LOGIN_DATA";
    public static final String K_SAVED_ACCOUNT = "K_SAVED_ACCOUNT";
    public static final String K_SAVED_PASSWORD = "K_SAVED_PASSWORD";
    public static final String K_BOOL_AUTO_LOGIN = "K_BOOL_AUTO_LOGIN";
    public static final String K_INT_TIME_INTERVAL = "K_INT_TIME_INTERVAL";
    public static final String K_BOOL_AUTO_SHOW_PICTURE = "K_BOOL_AUTO_SHOW_PICTURE";
    public static final String K_BOOL_ONLY_SHOW_UNREAD = "K_BOOL_ONLY_SHOW_UNREAD";
    public static final String K_BOOL_AUTO_UPDATE = "K_BOOL_AUTO_UPDATE";
    public static final String K_INT_UPLOAD_PIC = "K_INT_UPLOAD_PIC";

    /*-----------------------------------------------------------------------------
     *----------        Group name           --------------------------------
     *-----------------------------------------------------------------------------*/
    public static final String GROUP_EISTAR = "喻信星空";
    public static final String GROUP_EI = "电信风采";
    public static final String GROUP_DIGITAL = "数字时代";
    public static final String GROUP_SCIENCE = "学术科学";
    public static final String GROUP_ART = "人文艺术";
    public static final String GROUP_SINCERE = "纯真时代";
    public static final String GROUP_ENTERTAINMENT = "休闲娱乐";
    public static final String GROUP_NEWS = "时事快递";

    /*-----------------------------------------------------------------------------
     *----------        slideMenu name           --------------------------------
     *-----------------------------------------------------------------------------*/
    public static final String MENU_BOOKMARK = "订阅";
    public static final String MENU_ALL_GROUP = "全部版面";
    public static final String MENU_MY_ACTIVITIES = "我的动态";
    public static final String MENU_MY_ARTICLE = "我的文章";
    public static final String MENU_MY_MAILS = "我的信件";
    public static final String MENU_MY_FRIENDS = "我的朋友";
    public static final String MENU_SETTING = "设置";

    /*-----------------------------------------------------------------------------
     *----------        title state:标示不同的title           ------------------
     *-----------------------------------------------------------------------------*/
    public static final int TITLE_RIGHT_SEARCH = 1;
    public static final int TITLE_RIGHT_ADD = 2;
    public static final int TITLE_NO_RIGHT = 3;
    public static final int TITLE_RIGHT_SMS = 4;
    public static final int TITLE_IN_SEARCH = 5;

     /*-----------------------------------------------------------------------------
     *----------        intent之间传递extra的key和Map的key           ------------------
     *-----------------------------------------------------------------------------*/
    //用户信息
    public static final String USER_INFO = "userInfo";
    //用户名
    public static final String EXTRA_USER_NAME = "userName";
    //帖子详情的文件名
    public static final String EXTRA_FILE_NAME = "fileName";
    //帖子所属的版面
    public static final String EXTRA_BOARD_NAME = "boardName";
    //帖子详细信息
    public static final String ARTICLE_DETAIL = "articleDetail";
    //好友列表
    public static final String MY_FRIENDS = "myFriends";
    //文章列表 包括原文和评论
    public static final String ARTICLE_LIST = "articleList";
    //发帖类型，新发帖post、回复reply和发送私信mail
    public static final String EXTRA_POST_TYPE = "postType";
    public static final String POST_TYPE_NEW = "发表文章";
    public static final String POST_TYPE_REPLY = "回复文章";
    public static final String POST_TYPE_MAIL = "发送信件";
    //回复的文章名和部分引用
    public static final String REPLY_TITLE = "replyTitle";
    public static final String REPLY_SUMMARY = "summary";
    //网络回复里有error信息
    public static final String ERROR_RESULT = "error";
    //网络回复数据
    public static final String RESULT_DATA = "result_data";
    //文章列表加载更多时的startNum
    public static final String EXTRA_START_NUM = "startNum";

    // Cache Key

    // Broadcast Action
    public static final String ACTION_REQUEST_NETWORK_FAILED = "ACTION_QUEST_NETWORK_FAILED";

    //时间格式，1是yyyy年，2是Nov 9
    public static final int FORMAT_TYPE_ONE = 1;
    public static final int FORMAT_TYPE_TWO = 2;
}
